import tornado.web
import tornado.ioloop

from kg_server import get_app
port_name = 8183

if __name__ == '__main__':
    app = get_app()
    app.listen(port_name)
    print("服务启动成功,监听端口{a}...".format(a=port_name))
    tornado.ioloop.IOLoop.current().start()
    
